﻿using System;
using System.Collections.ObjectModel;

namespace Hallenberg.SmartClient.Menu
{
    public interface IMenuManager
    {
        ReadOnlyCollection<MenuItemContainer> AllMenuItemContainers { get; }
        MenuItemContainer Create(string menuName);
        MenuItemContainer FallbackMenuManager { get; }
        MenuItemContainer Find(string menuName, bool create);
        ReadOnlyCollection<MenuItem> GetSelectedMenuItems(string menuCollectionName, string menuItemName);
        void SetFallbackMenuManager(MenuItemContainer menuManager);
    }
}
